/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package vn.com.fis.portal.vtcc.model;

import com.liferay.portal.model.ModelWrapper;

/**
 * <p>
 * This class is a wrapper for {@link StrainEntry}.
 * </p>
 *
 * @author    loind
 * @see       StrainEntry
 * @generated
 */
public class StrainEntryWrapper implements StrainEntry,
	ModelWrapper<StrainEntry> {
	public StrainEntryWrapper(StrainEntry strainEntry) {
		_strainEntry = strainEntry;
	}

	public Class<?> getModelClass() {
		return StrainEntry.class;
	}

	public String getModelClassName() {
		return StrainEntry.class.getName();
	}

	/**
	* Returns the primary key of this strain entry.
	*
	* @return the primary key of this strain entry
	*/
	public long getPrimaryKey() {
		return _strainEntry.getPrimaryKey();
	}

	/**
	* Sets the primary key of this strain entry.
	*
	* @param primaryKey the primary key of this strain entry
	*/
	public void setPrimaryKey(long primaryKey) {
		_strainEntry.setPrimaryKey(primaryKey);
	}

	/**
	* Returns the strain ID of this strain entry.
	*
	* @return the strain ID of this strain entry
	*/
	public long getStrainId() {
		return _strainEntry.getStrainId();
	}

	/**
	* Sets the strain ID of this strain entry.
	*
	* @param strainId the strain ID of this strain entry
	*/
	public void setStrainId(long strainId) {
		_strainEntry.setStrainId(strainId);
	}

	/**
	* Returns the strain name of this strain entry.
	*
	* @return the strain name of this strain entry
	*/
	public java.lang.String getStrainName() {
		return _strainEntry.getStrainName();
	}

	/**
	* Sets the strain name of this strain entry.
	*
	* @param strainName the strain name of this strain entry
	*/
	public void setStrainName(java.lang.String strainName) {
		_strainEntry.setStrainName(strainName);
	}

	/**
	* Returns the description of this strain entry.
	*
	* @return the description of this strain entry
	*/
	public java.lang.String getDescription() {
		return _strainEntry.getDescription();
	}

	/**
	* Sets the description of this strain entry.
	*
	* @param description the description of this strain entry
	*/
	public void setDescription(java.lang.String description) {
		_strainEntry.setDescription(description);
	}

	/**
	* Returns the status of this strain entry.
	*
	* @return the status of this strain entry
	*/
	public int getStatus() {
		return _strainEntry.getStatus();
	}

	/**
	* Sets the status of this strain entry.
	*
	* @param status the status of this strain entry
	*/
	public void setStatus(int status) {
		_strainEntry.setStatus(status);
	}

	/**
	* Returns the sample ID of this strain entry.
	*
	* @return the sample ID of this strain entry
	*/
	public int getSampleId() {
		return _strainEntry.getSampleId();
	}

	/**
	* Sets the sample ID of this strain entry.
	*
	* @param sampleId the sample ID of this strain entry
	*/
	public void setSampleId(int sampleId) {
		_strainEntry.setSampleId(sampleId);
	}

	public boolean isNew() {
		return _strainEntry.isNew();
	}

	public void setNew(boolean n) {
		_strainEntry.setNew(n);
	}

	public boolean isCachedModel() {
		return _strainEntry.isCachedModel();
	}

	public void setCachedModel(boolean cachedModel) {
		_strainEntry.setCachedModel(cachedModel);
	}

	public boolean isEscapedModel() {
		return _strainEntry.isEscapedModel();
	}

	public java.io.Serializable getPrimaryKeyObj() {
		return _strainEntry.getPrimaryKeyObj();
	}

	public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
		_strainEntry.setPrimaryKeyObj(primaryKeyObj);
	}

	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
		return _strainEntry.getExpandoBridge();
	}

	public void setExpandoBridgeAttributes(
		com.liferay.portal.service.ServiceContext serviceContext) {
		_strainEntry.setExpandoBridgeAttributes(serviceContext);
	}

	@Override
	public java.lang.Object clone() {
		return new StrainEntryWrapper((StrainEntry)_strainEntry.clone());
	}

	public int compareTo(vn.com.fis.portal.vtcc.model.StrainEntry strainEntry) {
		return _strainEntry.compareTo(strainEntry);
	}

	@Override
	public int hashCode() {
		return _strainEntry.hashCode();
	}

	public com.liferay.portal.model.CacheModel<vn.com.fis.portal.vtcc.model.StrainEntry> toCacheModel() {
		return _strainEntry.toCacheModel();
	}

	public vn.com.fis.portal.vtcc.model.StrainEntry toEscapedModel() {
		return new StrainEntryWrapper(_strainEntry.toEscapedModel());
	}

	@Override
	public java.lang.String toString() {
		return _strainEntry.toString();
	}

	public java.lang.String toXmlString() {
		return _strainEntry.toXmlString();
	}

	public void persist()
		throws com.liferay.portal.kernel.exception.SystemException {
		_strainEntry.persist();
	}

	/**
	 * @deprecated Renamed to {@link #getWrappedModel}
	 */
	public StrainEntry getWrappedStrainEntry() {
		return _strainEntry;
	}

	public StrainEntry getWrappedModel() {
		return _strainEntry;
	}

	public void resetOriginalValues() {
		_strainEntry.resetOriginalValues();
	}

	private StrainEntry _strainEntry;
}